<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1-水平居中text-align</title>
    <style>
        p{
            text-align: center;
        }
    </style>
</head>
<body>
    <!-- 
        text-align:center/left/right;
        1.文本 
        2. span标签、a标签 
        3. input标签、img标签
     -->
    <p>河南:对村镇银行客户开展先行垫付</p>
    <p>
        <span>西安</span>
        <a href="">银行</a>
    </p>
    <p>
        <input type="text" name="uname" placeholder="请输入用户名...">
        <img src="images/123.png" alt="">
    </p>

</body>
</html>